package com.lmqb.bean;

import java.math.BigDecimal;
import java.util.Date;

/*
 * 借款人基本信息
 * */
public class LmUser {
    private Integer userId; //用户id

    private String loginMobile; //登录手机

    private String loanMobile; //借款手机

    private String userPassword; //用户密码

    private Integer recommendId; //推荐人id

    private String recommendMobile; //推荐人手机号

    private Byte userLevel;       // 会员等级

    private BigDecimal totalCreditLoan;  //累计借款金额

    private Byte agentStatus;  //是否代理商[0未申请;1申请中;2审核通过;3审核不通过;4自动关闭;]
 
    private String userQrcode; //二维码

    private Byte messagePushFlag; //消息推送开关[1推送;2不推送;]

    private Integer loginNums; //累计登录次数

    private Integer createTime; //创建时间

    private Integer lastLoginTime; //最后登录时间

    private Byte loginLock; //登录锁定[0不锁定;1锁定;2已注销]

    private String nickName; //昵称

    private String weixinNo;//微信号

    private String avatarUrl; //头像

    private Byte overdueFlag; //逾期标志[0无;1有]
    
    private Date createTimeD; //创建时间
    
    private Date lastLoginTimeD; //最近登录时间
    
    private Byte authStep; //申请步骤
    
    private String userName;//用户名

    public Byte getAuthStep() {
		return authStep;
	}

	public void setAuthStep(Byte authStep) {
		this.authStep = authStep;
	}

	public Date getCreateTimeD() {
		return createTimeD;
	}

	public void setCreateTimeD(Date createTimeD) {
		this.createTimeD = createTimeD;
	}

	public Date getLastLoginTimeD() {
		return lastLoginTimeD;
	}

	public void setLastLoginTimeD(Date lastLoginTimeD) {
		this.lastLoginTimeD = lastLoginTimeD;
	}

	public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getLoginMobile() {
        return loginMobile;
    }

    public void setLoginMobile(String loginMobile) {
        this.loginMobile = loginMobile == null ? null : loginMobile.trim();
    }

    public String getLoanMobile() {
        return loanMobile;
    }

    public void setLoanMobile(String loanMobile) {
        this.loanMobile = loanMobile == null ? null : loanMobile.trim();
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword == null ? null : userPassword.trim();
    }

    public Integer getRecommendId() {
        return recommendId;
    }

    public void setRecommendId(Integer recommendId) {
        this.recommendId = recommendId;
    }

    public String getRecommendMobile() {
        return recommendMobile;
    }

    public void setRecommendMobile(String recommendMobile) {
        this.recommendMobile = recommendMobile == null ? null : recommendMobile.trim();
    }

    public Byte getUserLevel() {
        return userLevel;
    }

    public void setUserLevel(Byte userLevel) {
        this.userLevel = userLevel;
    }

    public BigDecimal getTotalCreditLoan() {
        return totalCreditLoan;
    }

    public void setTotalCreditLoan(BigDecimal totalCreditLoan) {
        this.totalCreditLoan = totalCreditLoan;
    }

    public Byte getAgentStatus() {
        return agentStatus;
    }

    public void setAgentStatus(Byte agentStatus) {
        this.agentStatus = agentStatus;
    }

    public String getUserQrcode() {
        return userQrcode;
    }

    public void setUserQrcode(String userQrcode) {
        this.userQrcode = userQrcode == null ? null : userQrcode.trim();
    }

    public Byte getMessagePushFlag() {
        return messagePushFlag;
    }

    public void setMessagePushFlag(Byte messagePushFlag) {
        this.messagePushFlag = messagePushFlag;
    }

    public Integer getLoginNums() {
        return loginNums;
    }

    public void setLoginNums(Integer loginNums) {
        this.loginNums = loginNums;
    }

    public Integer getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Integer createTime) {
        this.createTime = createTime;
    }

    public Integer getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Integer lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public Byte getLoginLock() {
        return loginLock;
    }

    public void setLoginLock(Byte loginLock) {
        this.loginLock = loginLock;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName == null ? null : nickName.trim();
    }

    public String getWeixinNo() {
        return weixinNo;
    }

    public void setWeixinNo(String weixinNo) {
        this.weixinNo = weixinNo == null ? null : weixinNo.trim();
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl == null ? null : avatarUrl.trim();
    }

    public Byte getOverdueFlag() {
        return overdueFlag;
    }

    public void setOverdueFlag(Byte overdueFlag) {
        this.overdueFlag = overdueFlag;
    }

    
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	@Override
	public String toString() {
		return "LmUser [userId=" + userId + ", authStep=" + authStep +",recommendMobile="+recommendMobile+ "]";
	}

	
    
}